
#include <windows.h>

namespace glf {

int64 GetTicks() {
	LARGE_INTEGER ticks;
	QueryPerformanceCounter(&ticks);

	return ticks.QuadPart;
}

int64 GetTicksPerSecond() { //maybe cache this value !
	LARGE_INTEGER tickPerSeconds;
	QueryPerformanceFrequency(&tickPerSeconds);
	
	return tickPerSeconds.QuadPart;
}

} //namespace glf

